<!--
 <div *ngIf="isNull == true">
   <div  style="margin-bottom: 18px;
        border-bottom: 1px solid gainsboro;
        height: 32px;display:flex">
        <span>角色 [ {{roleCode}}：{{roleName}}] 的数据范围</span>
    </div>

     <div  class="mb-md">
     &lt;!&ndash; 监听列表组件，如果点击了则告诉弹出框组件，打开弹出框,监听addCreat方法&ndash;&gt;
            <nz-collapseset nzAccordion>
                <nz-collapse *ngFor="let panel of panels" [nzTitle]="panel.name" [nzActive]="panel.active">
                  <div class="components-table-demo-control-bar">
      <form nz-form [nzLayout]="'inline'">
        <div nz-row nz-form-item>
          <div nz-form-label>
            <label>Bordered</label>
          </div>
          <div nz-form-control>
            <nz-switch [(ngModel)]="_bordered" [ngModelOptions]="{standalone: true}"></nz-switch>
          </div>
        </div>
        <div nz-row nz-form-item>
          <div nz-form-label>
            <label>Loading</label>
          </div>
          <div nz-form-control>
            <nz-switch [(ngModel)]="_loading" [ngModelOptions]="{standalone: true}"></nz-switch>
          </div>
        </div>
        <div nz-row nz-form-item>
          <div nz-form-label>
            <label>Pagination</label>
          </div>
          <div nz-form-control>
            <nz-switch [(ngModel)]="_pagination" [ngModelOptions]="{standalone: true}"></nz-switch>
          </div>
        </div>
        <div nz-row nz-form-item>
          <div nz-form-label>
            <label>Title</label>
          </div>
          <div nz-form-control>
            <nz-switch [(ngModel)]="_title" [ngModelOptions]="{standalone: true}"></nz-switch>
          </div>
        </div>
        <div nz-row nz-form-item>
          <div nz-form-label>
            <label>Column Header</label>
          </div>
          <div nz-form-control>
            <nz-switch [(ngModel)]="_header" [ngModelOptions]="{standalone: true}"></nz-switch>
          </div>
        </div>
        <div nz-row nz-form-item>
          <div nz-form-label>
            <label>Footer</label>
          </div>
          <div nz-form-control>
            <nz-switch [(ngModel)]="_footer" [ngModelOptions]="{standalone: true}"></nz-switch>
          </div>
        </div>
        <div nz-row nz-form-item>
          <div nz-form-label>
            <label>Fixed Header</label>
          </div>
          <div nz-form-control>
            <nz-switch [(ngModel)]="_fixHeader" [ngModelOptions]="{standalone: true}"></nz-switch>
          </div>
        </div>
        <div nz-row nz-form-item>
          <div nz-form-label>
            <label>Size</label>
          </div>
          <div nz-form-control>
            <nz-radio-group [(ngModel)]="_size" [ngModelOptions]="{standalone: true}">
              <label nz-radio-button [nzValue]="'default'">
                <span>Default</span>
              </label>
              <label nz-radio-button [nzValue]="'middle'">
                <span>Middle</span>
              </label>
              <label nz-radio-button [nzValue]="'small'">
                <span>Small</span>
              </label>
            </nz-radio-group>
          </div>
        </div>
      </form>
    </div>
    <nz-table
      #nzTable
      [nzDataSource]="_dataSet"
      [nzPageSize]="10"
      [nzLoading]="_loading"
      [nzIsPagination]="_pagination"
      [nzSize]="_size" class="table" >
      <span nz-table-title>Here is Title</span>
        <thead nz-thead>
          <tr>
            <th nz-th [nzWidth]="'150px'"><span>Name</span></th>
            <th nz-th [nzWidth]="'70px'"><span>Age</span></th>
            <th nz-th [nzWidth]="'360px'"><span>Address</span></th>
            <th nz-th><span>Action</span></th>
          </tr>
        </thead>
      <tbody nz-tbody>
        <tr nz-tbody-tr *ngFor="let data of nzTable.data">
          <td nz-td>{{data.name}}</td>
          <td nz-td>{{data.age}}</td>
          <td nz-td>{{data.address}}</td>
          <td nz-td>
            <span>
              <a href="#">Action 一 {{data.name}}</a>
              <span nz-table-divider></span>
              <a href="#">Delete</a>
              <span nz-table-divider></span>
              <nz-dropdown>
                <a class="ant-dropdown-link" nz-dropdown>
                  More actions <i class="anticon anticon-down"></i>
                </a>
                <ul nz-menu>
                  <li nz-menu-item>
                    <a target="_blank" rel="noopener noreferrer" href="http://www.alipay.com/">1st menu item</a>
                  </li>
                  <li nz-menu-item>
                    <a target="_blank" rel="noopener noreferrer" href="http://www.alipay.com/">2nd menu item</a>
                  </li>
                  <li nz-menu-item>
                    <a target="_blank" rel="noopener noreferrer" href="http://www.alipay.com/">3rd menu item</a>
                  </li>
                </ul>
              </nz-dropdown>
            </span>
          </td>
        </tr>
      </tbody>

    </nz-table>
                </nz-collapse>
                </nz-collapseset>
    </div>
   <button  nz-col [nzSpan]="24" nz-button nzType="dashed" (click)="addRange()"><i class="anticon anticon-plus"></i>添加实体权限</button>
 </div>


 <div  *ngIf="isNull == false">
     <div nz-row [nzType]="'flex'" [nzJustify]="'space-around'" [nzAlign]="'middle'">

        <div nz-col [nzSpan]="24" style="margin: 5rem 0 14rem;text-align:center">
              <h3 style="font-weight:bold;margin-bottom: 15px;">角色无数据实体限制！</h3>
               <p class="height-50">
                    <button nz-button [nzType]="'primary'" (click)="addRange()">
                <i class="anticon anticon-plus"></i>
                      <span>设置实体权限</span>
                  </button>
             </p>

        </div>

      </div>
</div>

    <nz-modal [nzVisible]="dataAddModal" [nzWidth]="1024" [nzTitle]="'新增数据范围'" [nzConfirmLoading]="loading" [nzContent]="roleContent"
          (nzOnCancel)="dataAddModal=false" (nzOnOk)="subAdddata()">
    <ng-template #roleContent>
        <h2 style="text-align:center">选择实体增加数据范围控制</h2>

       </ng-template>
</nz-modal>

-->
<div  nz-row [nzType]="'flex'" [nzJustify]="'space-around'" [nzAlign]="'middle'">
    <div nz-col [nzSpan]="24" style="margin: 5rem 0 14rem;text-align:center">
        <h3 style="font-weight:bold;margin-bottom: 15px;">暂不开放此功能</h3>
    </div>
</div>
